package com.wardrobe.mapper.slave.goods_order;


import com.wardrobe.domain.goods_order.GoodsOrderShowBean;
import com.wardrobe.soa.backend.goods_order.BackGoodsOrderFromBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by Administrator on 2018/11/20.
 */
@Component("goodsOrderSlaveMapper")
public interface GoodsOrderSlaveMapper {

    GoodsOrderShowBean selectGoodsOrderById(long id);

    GoodsOrderShowBean selectGoodsOrderByOrderId(long orderId);

    List<GoodsOrderShowBean> selectGoodsOrder(@Param("userId") long userId, @Param("status") int status);

    List<GoodsOrderShowBean> selectGoodsOrderList(BackGoodsOrderFromBean fromBean);

    long countGoodsOrder(BackGoodsOrderFromBean fromBean);
}
